Bestsoft ID:
Password:  


Dash

Start writting your Operating System now in Dash by Downloading Bestsoft Space IDE Download

Function that enable user of your OS full mouse integration. You can determine when user click on specific X or Y location
and do something if condition is true. You can see it in following example.
(It maybe wont work properly in QEMU VM but it will work on Real Hardware and some other VMs)


Import Bestsoft.Dash

Class Kernel
     Start_Sub()
      EnableMouse()
    End_Start_Sub
     Mouse_Click_Event()
      If Mouse.Click.Location.X = 5 Then
         If Mouse.Click.Location.Y = 5 Then
              SetBackgroundColor(Blue)
           End_Mouse_Click
     End_Mouse_Click
   End_Mouse_Click_Event

 End_Class